<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>资金账户</title>
		<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<link rel="stylesheet" href="../css/mui.min.css">
		<script src="../js/jquery.min.js"></script>

		<style type="text/css">
			*{
				margin: 0rem;
				padding: 0rem;
				text-decoration: none;
				list-style: none;
				
			}
			html,body{
				background-color: #fff;
				width: 100%;
				height: 100%;
				 /*font-size:  100rem;*/
				 font-size: calc(100vw / 7.5);
				 font-family: "microsoft yahei";
			}
			
			
			/*内容*/
			.content{
				box-sizing: border-box;
				padding-left: 0.32rem;
				width: 100%;
			}
			.content ul{
				display: flex;
				width: 100%;
				height: 1.02rem;
				padding-right: 0.32rem;
				border-bottom: 1px solid #e0f0f0;
				line-height: 1.02rem;
			}
			.content ul .left{
				flex: 1;
				font-size: 0.28rem;
				color: #333;
			}
			.content ul .right{
				flex: 1;
				font-size: 0.28rem;
				color: #c4c4c4;
				text-align: right;
			}
		</style>
	</head>

	<body>
		<script>
			$(function(){
				$("#wrapper").load("../header.html")
				
			})
			setTimeout(function(){
				$("#wrapper").find(".con").html("资金账户").end().find(".dot img").css("display","none");
				$(".arrow").on("tap",function(){
				window.location.href = "zhanghuzhongxin.html";
			})
			},200)
				setTimeout(function(){
				$("#wrapper").find(".con").html("资金账户").end().find(".dot img").css("display","none");
				$(".arrow").on("tap",function(){
				window.location.href = "zhanghuzhongxin.html";
			})
			},2000)
		</script>
		
		<div class="wrapper" id="wrapper"></div>
		
		<div class= "content">
			<ul>
				<li class="left">人民币账户</li>
				<li class="right">
					<span>余额：</span>
					<span class= "info" id="cash_money"></span>
				</li>
			</ul>
			<ul>
				<li class="left">可用云币</li>
				<li class="right">
					<span>余额：</span>
					<span class= "info" id="cloud_money"></span>
				</li>
			</ul>
			<ul>
				<li class="left">已冻结云币</li>
				<li class="right">
					<span>余额：</span>
					<span class= "info" id="cloud_money_freeze"></span>
				</li>
			</ul>
			<ul>
				<li class="left">注册赠送云币</li>
				<li class="right">
					<span>余额：</span>
					<span class= "info" id="cloud_money_register"></span>
				</li>
			</ul>
			<ul>
				<li class="left">认筹冻结云币</li>
				<li class="right">
					<span>余额：</span>
					<span class= "info" id="cloud_money_release"></span>
				</li>
			</ul>
			<ul>
				<li class="left">其他云币</li>
				<li class="right">
					<span>余额：</span>
					<span class= "info" id="cloud_money_other"></span>
				</li>
			</ul>
	
		</div>
		<script src="../js/mui.min.js"></script>
		<script>
				$.ajax({
				type:"GET",
				url: `${localStorage.top}api/usercenter/get_user_info?TOKEN=${localStorage.token}`,
				success: function(data){
				console.log(data)
				localStorage.alipay_id = data.data.alipay_id;
				localStorage.avatar = data.data.avatar;
				localStorage.bank_card_name = data.data.bank_card_name;
				localStorage.bank_card = data.data.bank_card;
				localStorage.bank_card_address = data.data.bank_card_address;
				localStorage.cash_money = data.data.cash_money;
				localStorage.cloud_money_freeze = data.data.cloud_money_freeze;
				localStorage.cloud_money_other = data.data.cloud_money_other;
				localStorage.cloud_money_register = data.data.cloud_money_register;
				localStorage.cloud_money_release = data.data.cloud_money_release;
				localStorage.cloud_money_released = data.data.cloud_money_released;
				localStorage.id_number = data.data.id_number;
				localStorage.mobile = data.data.mobile;
				localStorage.realname = data.data.realname;
				localStorage.username = data.data.username;
				localStorage.wechat_id = data.data.wechat_id;
				
			}
		})
			$("#cash_money").html(localStorage.cash_money);
			$("#cloud_money").html(localStorage.cloud_money);
			$("#cloud_money_freeze").html(localStorage.cloud_money_freeze);
			$("#cloud_money_register").html(localStorage.cloud_money_register);
			$("#cloud_money_release").html(localStorage.cloud_money_release);
			$("#cloud_money_other").html(localStorage.cloud_money_other);

		</script>
	</body>

</html>